<template>
  <div>Test</div>
  <v-chart :options="options1" />
  <v-form :form-items="items" :components="comps" />
</template>

<script>
import { options1 } from './data'
import { VForm, VChart } from 'rock-admin'
import MyInput from './MyInput'
export default {
  name: 'Test',
  components: { VForm, VChart },
  setup() {
    return {
      options1,
      comps: {
        MyInput
      },
      items: [
        {
          type: 'input',
          label: 'test',
          field: 'test'
        },
        {
          type: 'my-input',
          label: 'custom',
          field: 'test'
        }
      ]
    }
  }
}
</script>
